package com.helsmanli.holiday.model;

import java.time.LocalDate;

public class WeekDay {

    // 当前日期
    private LocalDate date;
    // 概要
    private String summary;
    // 周几
    private String week;
    // 描述
    private String description;
    // 是否为休息日0、否 1、 是
    private String rest;

    public WeekDay(LocalDate date, String summary,String week, String description, String rest) {
        this.date = date;
        this.summary = summary;
        this.week = week;
        this.description = description;
        this.rest = rest;
    }

    public LocalDate getDate() {
        return date;
    }

    public String getSummary() {
        return summary;
    }
    
    public String getWeek() {
        return week;
    }

    public String getDescription() {
        return description;
    }

    public String getRest() {
        return rest;
    }

    public void setDate(LocalDate date) {
		this.date = date;
	}

	public void setSummary(String summary) {
		this.summary = summary;
	}

	public void setWeek(String week) {
		this.week = week;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public void setRest(String rest) {
		this.rest = rest;
	}

	@Override
    public String toString() {
        return "WeekDay{" +
                "date=" + date +
                ", summary='" + summary + '\'' +
                ", week='" + week + '\'' +
                ", description='" + description + '\'' +
                ", rest='" + rest + '\'' +
                '}';
    }
}
